package cn.azzhu.springdemo.mapper;

import cn.azzhu.springdemo.bean.Phone;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author azzhu
 * @create 2020-08-22 14:35:12
 */
public interface PhoneMapper {

    Phone getPhoneById(Integer id);

    //List<Phone> getAll(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);
    List<Phone> getAll();

    int getTotalCount();
}
